package com.shop.loan.model.vo;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.annotation.sub_field.sub_edit.ChoiceType;
import xyz.erupt.annotation.sub_field.sub_edit.VL;
import xyz.erupt.jpa.model.BaseModel;

@Erupt(name = "用户备注")
@Getter
@Setter
public class UserRemarkVo extends BaseModel {


    @EruptField(
            edit = @Edit(
                    title = "客户意愿",
                    type = EditType.CHOICE,
                    notNull = true,
                    choiceType = @ChoiceType(
                            vl = {
                                    @VL(label = "有复借意向", value = "1"),
                                    @VL(label = "无复借意向", value = "2"),
                                    @VL(label = "无人接听", value = "3"),
                                    @VL(label = "其他", value = "9"),
                            }
                    ))
    )
    private Integer userWill;


    @EruptField(
            edit = @Edit(
                    title = "限制客户下单",
                    type = EditType.CHOICE,
                    choiceType = @ChoiceType(
                            vl = {
                                    @VL(label = "是", value = "1"),
                                    @VL(label = "否", value = "2"),
                            }
                    ))
    )
    private Integer userStatus;

    @EruptField(
            edit = @Edit(title = "备注", type = EditType.TEXTAREA)
    )
    private String remark;
}
